import request from '@/utils/request'

// 初始化接口
export function getColumn(query) {
  return request({
    url: '/archive/senior/query/fileds',
    method: 'post',
    params: query
  })
}

// 查询门类
export function getArchivesCategory(data) {
  return request({
    url: '/archive/list/query/category/list',
    method: 'post',
    params: data
  })
}

//列表
export function queryList(data) {
  return request({
    url: '/archive/senior/query/list?pageNum='+ data.pageNum + '&pageSize=' + data.pageSize,
    method: 'post',
    data: data
  })
}

///查询展示列
export function fieldList(data) {
  return request({
    url: '/archive/list/query/field/list',
    method: 'post',
    data: data
  })
}
